package com.bob.demo.system.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

import com.alibaba.fastjson.annotation.JSONField;

import lombok.Data;

@Data
@Entity
public class User {

	@Id
	@Column(name="id",length=32) 
	private String id;
	private String username;
	private String telephone;
	private String nickname;
	private String password;
	private String salt;
	private int userType;
	private String createUser;
	private int status;
	@JSONField(format="yyyy-mm-dd hh:mm:ss")
	private Date createTime;
	@JSONField(format="yyyy-mm-dd hh:mm:ss")
	private Date birthday;
	
}
